import config from "@/config"
import http from "@/utils/request"

export default {
  selectLogList: {
    url: `${config.API_URL}/operationLog/page`,
    name: "获取日志分页",
    get: async function (param) {
      return new Promise((resolve, reject) => {
        http.get(this.url, param).then((response) => {
          resolve(response)
        }).catch((error) => {
          resolve(error.data)
        })
      })
    }
  }
}